import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import UnoCSS from 'unocss/vite'

// https://vite.dev/config/
export default defineConfig({
  base:"/tokens-count",
  plugins: [vue(),UnoCSS()],
  server:{
    proxy:{
      '/tokens-count/api':{
        target:"http://10.69.84.14:10845",
        rewrite:(path) => path.replace(/^\/tokens-count\/api/,'')
      }
    }
  },
})
